﻿@using Website.Models
@model IEnumerable<ProductSize>

@*@for (int i = 0; i < Model.Count(); i++)
{
    @Model[i].Size.SizeName @: : @Html.EditorFor(m => m[i].Quantity)
    <br/>
}*@

@foreach (ProductSize ps in Model)
{
    @ps.Size.SizeName @: : @Html.EditorFor(m => ps.Quantity)
    @Html.HiddenFor(m => ps.SizeID)
    <br/>
}
